package abc.red.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @ClassName Warehouse
 * @Author YiXia
 * @Date 2024/1/18 13:46
 * @Version 1.0
 * @Description TODO
 **/


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Warehouse {


    @TableId(type = IdType.AUTO)
    private Long id;
    private Long managerId;
    private String name;
    private String message;
    //状态
    private int state;
    //容量
    private Long capacity;


    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;

}


